package models.common;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * Created by sunqw on 3/5 0005.
 * 审计信息，包含对信息的修改记录，是一个MappedSuperClass
 */
@MappedSuperclass
public class AuditInfo extends CreateInfo{

    /**
     * 最后修改人
     */
    public String lastUpdater;

    /**
     * 最后修改时间
     */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="last_updateDate")
    public Date lastUpdateDate;
}
